import {createStore,applyMiddleware} from 'redux'
import thunkMiddleware from 'redux-thunk'
import rootReducer from '../reducers/index'

//const createStoreWithMiddleware = createStore(thunkMiddleware)
export default function configureStore(){
	const store = createStore(rootReducer)
	return store
}